{*
%%%copyright%%%
 * phpMyTicket - ticket reservation system
 * Copyright (C) 2004-2005 Anna Putrino, Stanislav Chachkov. All rights reserved.
 *
 * This file is part of phpMyTicket.
 *
 * This file may be distributed and/or modified under the terms of the
 * "GNU General Public License" version 2 as published by the Free
 * Software Foundation and appearing in the file LICENSE included in
 * the packaging of this file.
 *
 * Licencees holding a valid "phpmyticket professional licence" version 1
 * may use this file in accordance with the "phpmyticket professional licence"
 * version 1 Agreement provided with the Software.
 *
 * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING
 * THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
 * PURPOSE.
 *
 * The "phpmyticket professional licence" version 1 is available at
 * http://www.phpmyticket.com/ and in the file
 * PROFESSIONAL_LICENCE included in the packaging of this file.
 * For pricing of this licence please contact us via e-mail to 
 * info@phpmyticket.com.
 * Further contact information is available at http://www.phpmyticket.com/
 *
 * The "GNU General Public License" (GPL) is available at
 * http://www.gnu.org/copyleft/gpl.html.
 *
 * Contact info@phpmyticket.com if any conditions of this licencing isn't 
 * clear to you.
 
 *}{include file="header.tpl"}
<div class='div_dark'>
<table class="table_dark">
<tr>
  <td align='center' valign='top'>

{if $smarty.get.email} 
  {if $user->forgot_password_f($smarty.get.email) }
    <div class='success'>
    {#pwd_sent#}.</div>
  {else}
    <div class='error'>
    {#pwd_err#}</div>
  {/if}
{else}  
  <form action='forgot_password.php' method='get'>  
    <table width='100%' align='center'>
    <tr><td class='title' colspan='2' align='center'>    
    {#pwd_forgot#}
</td></tr>
    <tr><td  colspan='2'>    
    {#pwd_note#}<br><br>
</td></tr>
    <tr><td>{#email#}</td>
    <td><input type='text' name='email' size='30'> &nbsp; <input type='submit' name='submit' value="{#pwd_send#}"></td></tr>
    </table>
  </form>
{/if}

  </td>
</table>  
</div>
{include file="footer.tpl"}
